﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class Batmobile : Car, IFly
    {
        public Batmobile(string band, string type) : base(band, type)
        {

            this.Band = band;
            this.Type = type;
        }

        public void Fly()
        {
            Console.WriteLine("一辆{0}品牌，型号{1}在飞行",base.Band,this.Type);
        }
    }
}
